package cn.edu.csust.cvs.management.utils;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * Description: 封装httpClient响应结果
 *
 * @author JourWon
 * @date Created on 2018年4月19日
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class HttpClientResult implements Serializable {

    /**
     * 响应状态码
     */
    private Integer code;

    /**
     * 响应数据
     */
    private String content;

    public HttpClientResult(int code) {

        this.code = code;
    }
}
